package com.yl.chainStore.mapper.warehouse

import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.yl.chainStore.entity.warehouse.TechnologyProcessing
import com.yl.chainStore.pojo.vo.warehouse.TechnologyProcessingMapperVo
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param
import org.springframework.stereotype.Repository

/**
 * @description :
 * @author :吴枫
 * @create :2021-06-29 17:36:00
 */
@Mapper
@Repository
interface TechnologyProcessingMapper : BaseMapper<TechnologyProcessing> {
    /**
     * 分页查询
     */
    fun getProcessListByPage(
            @Param("page") page: Page<TechnologyProcessing>,
            @Param("process") process: TechnologyProcessingMapperVo
    ): Page<TechnologyProcessing>


    /**
     * 根据id查询列表
     */
    fun getProcessListById(@Param("id") id: Long): TechnologyProcessing


}
